package tk.mybatis.springboot.model;

import java.math.BigDecimal;
import java.math.BigInteger;

/**
 * Created by 6imensiva on 2017/7/24.
 */

public class InsuranceOrder extends BaseEntity {
    private BigInteger carId;//bigint(20) NOT NULL车辆信息编号
    private BigInteger customerId;//bigint(20) NOT NULL被投保客户ID t_customer_info
    private BigInteger userId;//bigint(20) NOT NULL投保用户ID
    private String packageType;//varchar(20) NULL报价页面显示报价套餐/////
    private Boolean isValid;//tinyint(4) NOT NULL是否投保成功 0否/1是
    private BigDecimal totalCost;//decimal(10,2) NOT NULL总金额
    private String policyCode;//varchar(80) NOT NULL保险单编号
    private Integer insUnitId;//int(11) NOT NULL保险公司ID
    private Integer cityId;//int(11) NOT NULL投保城市
    private Integer districtId;//int(11) NOT NULL投保区县
    private java.sql.Timestamp orderTime;//datetime NOTNULL投保时间
    private String biPolicyNo;//varchar(32) NULL商业险保单号/////
    private String biProposalNo;//varchar(32) NULL商业险投保单号/////
    private java.sql.Date commStartDate;//date NULL商业险起保时间
    private java.sql.Date commEndDate;//date NULL商业险结束时间
    private String ciPolicyNo;//varchar(32) NULL交强保单号/////
    private String ciProposalNo;//varchar(32) NULL交强投保单号/////
    private java.sql.Date compulsoryStartDate;//date NOT NULL交强险起保时间
    private java.sql.Date compulsoryEndDate;//date NOT NULL交强险结束时间
    private String content;//varchar(1000) NOT NULL保单内容/////
    private Boolean insSameOwnerFlag;//tinyint(4) NOT NULL被保人同车主标志 0 否 1 是
    private Boolean holderSameOwnerFlag;//tinyint(4) NOT NULL投保人同车主标志 0 否 1 是
    private String qryServiceNo;//varchar(36) NULL查询报价业务号
    private String returnServiceNo;//varchar(50) NULL保险公司回传的业务号
    private Integer status;//int(11) NOT NULL投保单状态/////
    private java.sql.Date orderStartDate;//date NULL保单生效时间
    private String errorMsg;//text NULL订单失败原因

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public BigInteger getCarId() {
        return carId;
    }

    public void setCarId(BigInteger carId) {
        this.carId = carId;
    }

    public BigInteger getCustomerId() {
        return customerId;
    }

    public void setCustomerId(BigInteger customerId) {
        this.customerId = customerId;
    }

    public BigInteger getUserId() {
        return userId;
    }

    public void setUserId(BigInteger userId) {
        this.userId = userId;
    }

    public String getPackageType() {
        return packageType;
    }

    public void setPackageType(String packageType) {
        this.packageType = packageType;
    }

    public Boolean getIsValid() {
        return isValid;
    }

    public void setIsValid(Boolean isValid) {
        this.isValid = isValid;
    }

    public BigDecimal getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(BigDecimal totalCost) {
        this.totalCost = totalCost;
    }

    public String getPolicyCode() {
        return policyCode;
    }

    public void setPolicyCode(String policyCode) {
        this.policyCode = policyCode;
    }

    public Integer getInsUnitId() {
        return insUnitId;
    }

    public void setInsUnitId(Integer insUnitId) {
        this.insUnitId = insUnitId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Integer districtId) {
        this.districtId = districtId;
    }

    public java.sql.Timestamp getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(java.sql.Timestamp orderTime) {
        this.orderTime = orderTime;
    }

    public String getBiPolicyNo() {
        return biPolicyNo;
    }

    public void setBiPolicyNo(String biPolicyNo) {
        this.biPolicyNo = biPolicyNo;
    }

    public String getBiProposalNo() {
        return biProposalNo;
    }

    public void setBiProposalNo(String biProposalNo) {
        this.biProposalNo = biProposalNo;
    }

    public java.sql.Date getCommStartDate() {
        return commStartDate;
    }

    public void setCommStartDate(java.sql.Date commStartDate) {
        this.commStartDate = commStartDate;
    }

    public java.sql.Date getCommEndDate() {
        return commEndDate;
    }

    public void setCommEndDate(java.sql.Date commEndDate) {
        this.commEndDate = commEndDate;
    }

    public String getCiPolicyNo() {
        return ciPolicyNo;
    }

    public void setCiPolicyNo(String ciPolicyNo) {
        this.ciPolicyNo = ciPolicyNo;
    }

    public String getCiProposalNo() {
        return ciProposalNo;
    }

    public void setCiProposalNo(String ciProposalNo) {
        this.ciProposalNo = ciProposalNo;
    }

    public java.sql.Date getCompulsoryStartDate() {
        return compulsoryStartDate;
    }

    public void setCompulsoryStartDate(java.sql.Date compulsoryStartDate) {
        this.compulsoryStartDate = compulsoryStartDate;
    }

    public java.sql.Date getCompulsoryEndDate() {
        return compulsoryEndDate;
    }

    public void setCompulsoryEndDate(java.sql.Date compulsoryEndDate) {
        this.compulsoryEndDate = compulsoryEndDate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Boolean getInsSameOwnerFlag() {
        return insSameOwnerFlag;
    }

    public void setInsSameOwnerFlag(Boolean insSameOwnerFlag) {
        this.insSameOwnerFlag = insSameOwnerFlag;
    }

    public Boolean getHolderSameOwnerFlag() {
        return holderSameOwnerFlag;
    }

    public void setHolderSameOwnerFlag(Boolean holderSameOwnerFlag) {
        this.holderSameOwnerFlag = holderSameOwnerFlag;
    }

    public String getQryServiceNo() {
        return qryServiceNo;
    }

    public void setQryServiceNo(String qryServiceNo) {
        this.qryServiceNo = qryServiceNo;
    }

    public String getReturnServiceNo() {
        return returnServiceNo;
    }

    public void setReturnServiceNo(String returnServiceNo) {
        this.returnServiceNo = returnServiceNo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public java.sql.Date getOrderStartDate() {
        return orderStartDate;
    }

    public void setOrderStartDate(java.sql.Date orderStartDate) {
        this.orderStartDate = orderStartDate;
    }
}
